﻿using DeviceAlarmService.Models.Message;

namespace DeviceAlarmService.Models;

public class SystemConfiguration
{
    /// <summary>
    /// 采集间隔 默认s
    /// </summary>
    public int collectionInterval { get; set; }

    /// <summary>
    /// 报警间隔 默认s
    /// </summary>
    public int alarmInterval { get; set; }

    /// <summary>
    /// 启用语音播报服务
    /// </summary>
    public bool enableVoiceBroadcastingService { get; set; }

    /// <summary>
    /// 启用推送服务
    /// </summary>
    public bool enablePushService { get; set; }

    /// <summary>
    /// 报警模板 无数据
    /// </summary>
    public string template { get; set; }

    /// <summary>
    /// 联系人
    /// </summary>
    public List<Contacts> contacts { get; set; }

    /// <summary>
    /// 信息通道
    /// </summary>
    public MessageEnum passageway { get; set; }

    /// <summary>
    /// 通道信息
    /// </summary>
    public string passagewayMessage { get; set; }
}